﻿public class code010{
	public static void main(String[] arga){
		int nuw = 8461;
		int gewei = nuw % 10;
		int shiwei = nuw/ 10 % 10;
		int baiwei = nuw / 100 % 10;
		int qianwei = nuw / 1000;
		System.out.println("数字:" + nuw);
		System.out.println("千位数是:" + qianwei);
		System.out.println("百位数是:" + baiwei);
		System.out.println("十位数是:" + shiwei);
		System.out.println("个位数是:" + gewei);
	}
}